{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\richetta\Dropbox\Violence in India\Drafts\Causal Paper\BJPS Submission\Revision 2\replication material\log-main-tables.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}13 Jun 2022, 08:19:38

{com}. do "C:\Users\richetta\AppData\Local\Temp\STD2b1c_000000.tmp"
{txt}
{com}. global dir "C:/Users/richetta/Dropbox/Violence in India/Drafts/Causal Paper/BJPS Submission/Revision 2/replication material" 
{txt}
{com}. 
{txt}end of do-file

{com}. do "C:\Users\richetta\AppData\Local\Temp\STD2b1c_000000.tmp"
{txt}
{com}. use "$dir/data.dta"
{txt}(Written by R.              )

{com}. 
{txt}end of do-file

{com}. do "C:\Users\richetta\AppData\Local\Temp\STD2b1c_000000.tmp"
{txt}
{com}. * TABLES IN THE MAIN TEXT
. * Table 1
.         xtset SHF_AC_ID Sequence
{res}{txt}{col 8}panel variable:  {res}SHF_AC_ID (unbalanced)
{txt}{col 9}time variable:  {res}{col 25}Sequence, 2 to 8, but with gaps
{txt}{col 17}delta:  {res}1 unit
{txt}
{com}.         * Model 1 
.         xtreg Turnout_Percentage i.Count2PIl i.state_ac_align ///
>         Margin_Percentage lit ele urb Turnout_lag WIDisCount2PIntr, ///
>         fe vce(cluster ECI_DT_NAME)

{txt}Fixed-effects (within) regression               Number of obs      = {res}    18982
{txt}Group variable: {res}SHF_AC_ID                       {txt}Number of groups   = {res}     3486

{txt}R-sq:  within  = {res}0.1235                         {txt}Obs per group: min = {res}        2
{txt}       between = {res}0.2297                                        {txt}avg = {res}      5.4
{txt}       overall = {res}0.1940                                        {txt}max = {res}        7

                                                {txt}F({res}9{txt},{res}333{txt})           = {res}    25.87
{txt}corr(u_i, Xb)  = {res}0.1636                         {txt}Prob > F           =    {res}0.0000

{txt}{ralign 83:(Std. Err. adjusted for {res:334} clusters in ECI_DT_NAME)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}Turnout_Percent~e{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}Count2PIl {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-2.834053{col 31}{space 2} .8542604{col 42}{space 1}   -3.32{col 51}{space 3}0.001{col 59}{space 4} -4.51448{col 72}{space 3}-1.153626
{txt}{space 15}2  {c |}{col 19}{res}{space 2} 2.241625{col 31}{space 2} 1.242788{col 42}{space 1}    1.80{col 51}{space 3}0.072{col 59}{space 4}-.2030792{col 72}{space 3}  4.68633
{txt}{space 17} {c |}
{space 1}1.state_ac_align {c |}{col 19}{res}{space 2} 1.316642{col 31}{space 2} .3487008{col 42}{space 1}    3.78{col 51}{space 3}0.000{col 59}{space 4} .6307078{col 72}{space 3} 2.002576
{txt}Margin_Percentage {c |}{col 19}{res}{space 2}-.0735153{col 31}{space 2} .0122723{col 42}{space 1}   -5.99{col 51}{space 3}0.000{col 59}{space 4}-.0976564{col 72}{space 3}-.0493742
{txt}{space 14}lit {c |}{col 19}{res}{space 2} .1995845{col 31}{space 2} .0594505{col 42}{space 1}    3.36{col 51}{space 3}0.001{col 59}{space 4} .0826386{col 72}{space 3} .3165304
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0413571{col 31}{space 2} .0341606{col 42}{space 1}    1.21{col 51}{space 3}0.227{col 59}{space 4}-.0258407{col 72}{space 3} .1085548
{txt}{space 14}urb {c |}{col 19}{res}{space 2}-.0349872{col 31}{space 2} .0800146{col 42}{space 1}   -0.44{col 51}{space 3}0.662{col 59}{space 4} -.192385{col 72}{space 3} .1224106
{txt}{space 6}Turnout_lag {c |}{col 19}{res}{space 2} .0586384{col 31}{space 2} .0380774{col 42}{space 1}    1.54{col 51}{space 3}0.125{col 59}{space 4}-.0162643{col 72}{space 3}  .133541
{txt}{space 1}WIDisCount2PIntr {c |}{col 19}{res}{space 2} 4.442208{col 31}{space 2} 1.044829{col 42}{space 1}    4.25{col 51}{space 3}0.000{col 59}{space 4} 2.386911{col 72}{space 3} 6.497505
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} 48.67984{col 31}{space 2} 2.367771{col 42}{space 1}   20.56{col 51}{space 3}0.000{col 59}{space 4} 44.02216{col 72}{space 3} 53.33751
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
          sigma_u {c |} {res} 8.9115638
          {txt}sigma_e {c |} {res}  8.114375
              {txt}rho {c |} {res}  .5467196{txt}   (fraction of variance due to u_i)
{hline 18}{c BT}{hline 64}

{com}.         eststo A
{txt}
{com}.         * Model 2
.         xtreg Turnout_Percentage i.Count3Vl i.state_ac_align ///
>         Margin_Percentage lit ele urb Turnout_lag, ///
>         fe vce(cluster ECI_DT_NAME)

{txt}Fixed-effects (within) regression               Number of obs      = {res}    18982
{txt}Group variable: {res}SHF_AC_ID                       {txt}Number of groups   = {res}     3486

{txt}R-sq:  within  = {res}0.1950                         {txt}Obs per group: min = {res}        2
{txt}       between = {res}0.3302                                        {txt}avg = {res}      5.4
{txt}       overall = {res}0.2711                                        {txt}max = {res}        7

                                                {txt}F({res}9{txt},{res}333{txt})           = {res}    27.37
{txt}corr(u_i, Xb)  = {res}0.2112                         {txt}Prob > F           =    {res}0.0000

{txt}{ralign 83:(Std. Err. adjusted for {res:334} clusters in ECI_DT_NAME)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}Turnout_Percent~e{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}Count3Vl {c |}
{space 15}1  {c |}{col 19}{res}{space 2} -18.5382{col 31}{space 2} 4.333712{col 42}{space 1}   -4.28{col 51}{space 3}0.000{col 59}{space 4} -27.0631{col 72}{space 3} -10.0133
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-22.95511{col 31}{space 2}  7.95759{col 42}{space 1}   -2.88{col 51}{space 3}0.004{col 59}{space 4}-38.60859{col 72}{space 3}-7.301629
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-24.77847{col 31}{space 2} 5.016005{col 42}{space 1}   -4.94{col 51}{space 3}0.000{col 59}{space 4}-34.64552{col 72}{space 3}-14.91142
{txt}{space 17} {c |}
{space 1}1.state_ac_align {c |}{col 19}{res}{space 2} 1.158291{col 31}{space 2} .3129347{col 42}{space 1}    3.70{col 51}{space 3}0.000{col 59}{space 4} .5427125{col 72}{space 3} 1.773869
{txt}Margin_Percentage {c |}{col 19}{res}{space 2} -.061835{col 31}{space 2} .0104919{col 42}{space 1}   -5.89{col 51}{space 3}0.000{col 59}{space 4}-.0824737{col 72}{space 3}-.0411963
{txt}{space 14}lit {c |}{col 19}{res}{space 2} .1653686{col 31}{space 2} .0527307{col 42}{space 1}    3.14{col 51}{space 3}0.002{col 59}{space 4} .0616413{col 72}{space 3} .2690958
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0571047{col 31}{space 2} .0312746{col 42}{space 1}    1.83{col 51}{space 3}0.069{col 59}{space 4} -.004416{col 72}{space 3} .1186254
{txt}{space 14}urb {c |}{col 19}{res}{space 2}-.0495408{col 31}{space 2} .0743893{col 42}{space 1}   -0.67{col 51}{space 3}0.506{col 59}{space 4} -.195873{col 72}{space 3} .0967914
{txt}{space 6}Turnout_lag {c |}{col 19}{res}{space 2} .0965596{col 31}{space 2} .0342242{col 42}{space 1}    2.82{col 51}{space 3}0.005{col 59}{space 4} .0292366{col 72}{space 3} .1638825
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} 47.88579{col 31}{space 2} 2.430569{col 42}{space 1}   19.70{col 51}{space 3}0.000{col 59}{space 4} 43.10459{col 72}{space 3}   52.667
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
          sigma_u {c |} {res}  8.487241
          {txt}sigma_e {c |} {res} 7.7763525
              {txt}rho {c |} {res} .54362707{txt}   (fraction of variance due to u_i)
{hline 18}{c BT}{hline 64}

{com}.         eststo B
{txt}
{com}.         * Model 3
.         xtreg Turnout_Percentage i.Count2PIl i.Count3Vl i.state_ac_align ///
>         Margin_Percentage lit ele urb Turnout_lag WIDisCount2PIntr, ///
>         fe vce(cluster ECI_DT_NAME)

{txt}Fixed-effects (within) regression               Number of obs      = {res}    18982
{txt}Group variable: {res}SHF_AC_ID                       {txt}Number of groups   = {res}     3486

{txt}R-sq:  within  = {res}0.1966                         {txt}Obs per group: min = {res}        2
{txt}       between = {res}0.3258                                        {txt}avg = {res}      5.4
{txt}       overall = {res}0.2702                                        {txt}max = {res}        7

                                                {txt}F({res}12{txt},{res}333{txt})          = {res}    21.99
{txt}corr(u_i, Xb)  = {res}0.2056                         {txt}Prob > F           =    {res}0.0000

{txt}{ralign 83:(Std. Err. adjusted for {res:334} clusters in ECI_DT_NAME)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}Turnout_Percent~e{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}Count2PIl {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-2.988952{col 31}{space 2} .8444791{col 42}{space 1}   -3.54{col 51}{space 3}0.000{col 59}{space 4}-4.650138{col 72}{space 3}-1.327766
{txt}{space 15}2  {c |}{col 19}{res}{space 2} 1.826535{col 31}{space 2} 1.225221{col 42}{space 1}    1.49{col 51}{space 3}0.137{col 59}{space 4}-.5836131{col 72}{space 3} 4.236683
{txt}{space 17} {c |}
{space 9}Count3Vl {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-18.71298{col 31}{space 2} 4.412336{col 42}{space 1}   -4.24{col 51}{space 3}0.000{col 59}{space 4}-27.39255{col 72}{space 3}-10.03342
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-23.04884{col 31}{space 2} 7.939356{col 42}{space 1}   -2.90{col 51}{space 3}0.004{col 59}{space 4}-38.66646{col 72}{space 3}-7.431226
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-24.91532{col 31}{space 2} 5.087809{col 42}{space 1}   -4.90{col 51}{space 3}0.000{col 59}{space 4}-34.92362{col 72}{space 3}-14.90702
{txt}{space 17} {c |}
{space 1}1.state_ac_align {c |}{col 19}{res}{space 2} 1.142861{col 31}{space 2} .3126504{col 42}{space 1}    3.66{col 51}{space 3}0.000{col 59}{space 4} .5278419{col 72}{space 3}  1.75788
{txt}Margin_Percentage {c |}{col 19}{res}{space 2}-.0612039{col 31}{space 2} .0104823{col 42}{space 1}   -5.84{col 51}{space 3}0.000{col 59}{space 4}-.0818238{col 72}{space 3} -.040584
{txt}{space 14}lit {c |}{col 19}{res}{space 2} .1616193{col 31}{space 2}  .053008{col 42}{space 1}    3.05{col 51}{space 3}0.002{col 59}{space 4} .0573465{col 72}{space 3}  .265892
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0596868{col 31}{space 2} .0312962{col 42}{space 1}    1.91{col 51}{space 3}0.057{col 59}{space 4}-.0018765{col 72}{space 3} .1212501
{txt}{space 14}urb {c |}{col 19}{res}{space 2}-.0487334{col 31}{space 2} .0743011{col 42}{space 1}   -0.66{col 51}{space 3}0.512{col 59}{space 4}-.1948922{col 72}{space 3} .0974254
{txt}{space 6}Turnout_lag {c |}{col 19}{res}{space 2} .0974348{col 31}{space 2} .0341681{col 42}{space 1}    2.85{col 51}{space 3}0.005{col 59}{space 4} .0302222{col 72}{space 3} .1646474
{txt}{space 1}WIDisCount2PIntr {c |}{col 19}{res}{space 2} 1.983025{col 31}{space 2}  1.03025{col 42}{space 1}    1.92{col 51}{space 3}0.055{col 59}{space 4}-.0435929{col 72}{space 3} 4.009643
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} 47.88774{col 31}{space 2} 2.414783{col 42}{space 1}   19.83{col 51}{space 3}0.000{col 59}{space 4} 43.13759{col 72}{space 3} 52.63789
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
          sigma_u {c |} {res} 8.4921346
          {txt}sigma_e {c |} {res} 7.7695974
              {txt}rho {c |} {res}  .5443442{txt}   (fraction of variance due to u_i)
{hline 18}{c BT}{hline 64}

{com}.         eststo C
{txt}
{com}.         * Check multicollinearity --> all VIF below 3
.         collin Count2PIl Count3Vl state_ac_align ///
>         Margin_Percentage lit ele urb Turnout_lag WIDisCount2PIntr
{txt}(obs=18,982)

  Collinearity Diagnostics

                        SQRT                   R-
  Variable      VIF     VIF    Tolerance    Squared
----------------------------------------------------
 {res}Count2PIl      2.10    1.45    0.4771      0.5229
  Count3Vl      1.02    1.01    0.9839      0.0161
state_ac_align      1.06    1.03    0.9428      0.0572
Margin_Percentage      1.02    1.01    0.9807      0.0193
       lit      2.38    1.54    0.4195      0.5805
       ele      2.46    1.57    0.4057      0.5943
       urb      1.74    1.32    0.5738      0.4262
Turnout_lag      1.22    1.11    0.8183      0.1817
WIDisCount2PIntr      2.11    1.45    0.4735      0.5265
{txt}----------------------------------------------------
  Mean VIF{res}      1.68

{txt}                           Cond
        Eigenval          Index
---------------------------------
{res}    1     5.4653          1.0000
    2     1.6644          1.8121
    3     0.9862          2.3541
    4     0.7656          2.6717
    5     0.4523          3.4760
    6     0.2686          4.5108
    7     0.2498          4.6778
    8     0.0996          7.4065
    9     0.0277         14.0446
    10     0.0205         16.3399
{txt}---------------------------------
 Condition Number{res}        16.3399 
{txt} Eigenvalues & Cond Index computed from scaled raw sscp (w/ intercept)
 Det(correlation matrix){res}    0.1106
{txt}
{com}.         * Export full table 
.         esttab A B C ///
>         using "$dir/maintable1.rtf", /// 
>         star(* 0.05 ** 0.01 *** 0.001) ///
>         title("Table 1. Results Fixed Effects Analysis, Dependent Variable: Turnout (%)") ///
>         se scalars(ll) obslast ///
>         replace
{res}{txt}(note: file C:/Users/richetta/Dropbox/Violence in India/Drafts/Causal Paper/BJPS Submission/Revision 2/replication material/maintable1.rtf not found)
(output written to {browse  `"C:/Users/richetta/Dropbox/Violence in India/Drafts/Causal Paper/BJPS Submission/Revision 2/replication material/maintable1.rtf"'})

{com}.         est drop *
{res}{txt}
{com}. 
. * Table 2
.         * Model 1 
.         zip Count2PIntr i.state_ac_align Margin_Percentage lit ele ///
>         urb rugg_std i.Constituency_Type i.State_Name, inflate(SHF_AC_ID) ///
>         vce(robust)

{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-2911.6795}  
Iteration 1:{space 3}log pseudolikelihood = {res:-2703.3287}  
Iteration 2:{space 3}log pseudolikelihood = {res:-2661.1196}  
Iteration 3:{space 3}log pseudolikelihood = {res:-2656.7545}  
Iteration 4:{space 3}log pseudolikelihood = {res:-2656.4114}  
Iteration 5:{space 3}log pseudolikelihood = {res:-2656.4085}  
Iteration 6:{space 3}log pseudolikelihood = {res:-2656.4085}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-2656.4085}  
Iteration 1:{space 3}log pseudolikelihood = {res:-2513.7867}  
Iteration 2:{space 3}log pseudolikelihood = {res:-2275.5161}  (not concave)
Iteration 3:{space 3}log pseudolikelihood = {res:-2271.9107}  (not concave)
Iteration 4:{space 3}log pseudolikelihood = {res:-2130.5863}  (not concave)
Iteration 5:{space 3}log pseudolikelihood = {res:-2117.7824}  (not concave)
Iteration 6:{space 3}log pseudolikelihood = {res:-2065.9549}  (not concave)
Iteration 7:{space 3}log pseudolikelihood = {res:-2046.3983}  
Iteration 8:{space 3}log pseudolikelihood = {res:-2028.8789}  (not concave)
Iteration 9:{space 3}log pseudolikelihood = {res:-2028.4985}  (not concave)
Iteration 10:{space 2}log pseudolikelihood = {res:-2028.4524}  (not concave)
Iteration 11:{space 2}log pseudolikelihood = {res:-2028.4191}  
Iteration 12:{space 2}log pseudolikelihood = {res:-2028.3701}  
Iteration 13:{space 2}log pseudolikelihood = {res:-2028.3685}  
Iteration 14:{space 2}log pseudolikelihood = {res:-2028.3605}  
Iteration 15:{space 2}log pseudolikelihood = {res:-2028.3559}  
Iteration 16:{space 2}log pseudolikelihood = {res:-2028.3557}  
Iteration 17:{space 2}log pseudolikelihood = {res:-2028.3556}  
{res}
{txt}Zero-inflated Poisson regression                Number of obs     = {res}    18,962
                                                {txt}Nonzero obs       = {res}       632
                                                {txt}Zero obs          = {res}    18,330

{txt}Inflation model      = {res}logit                    {txt}Wald chi2({res}25{txt})     = {res}  64053.11
{txt}Log pseudolikelihood = {res}-2028.356                {txt}Prob > chi2       = {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}      Count2PIntr{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Count2PIntr       {txt}{c |}
{space 1}1.state_ac_align {c |}{col 19}{res}{space 2}-.3393231{col 31}{space 2}   .12231{col 42}{space 1}   -2.77{col 51}{space 3}0.006{col 59}{space 4}-.5790462{col 72}{space 3}   -.0996
{txt}Margin_Percentage {c |}{col 19}{res}{space 2} .0066466{col 31}{space 2}  .002697{col 42}{space 1}    2.46{col 51}{space 3}0.014{col 59}{space 4} .0013607{col 72}{space 3} .0119325
{txt}{space 14}lit {c |}{col 19}{res}{space 2}-.0564437{col 31}{space 2} .0058882{col 42}{space 1}   -9.59{col 51}{space 3}0.000{col 59}{space 4}-.0679843{col 72}{space 3}-.0449031
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0304007{col 31}{space 2}  .005363{col 42}{space 1}    5.67{col 51}{space 3}0.000{col 59}{space 4} .0198894{col 72}{space 3}  .040912
{txt}{space 14}urb {c |}{col 19}{res}{space 2} .0080779{col 31}{space 2} .0041208{col 42}{space 1}    1.96{col 51}{space 3}0.050{col 59}{space 4} 1.18e-06{col 72}{space 3} .0161546
{txt}{space 9}rugg_std {c |}{col 19}{res}{space 2} .0003944{col 31}{space 2} .0007306{col 42}{space 1}    0.54{col 51}{space 3}0.589{col 59}{space 4}-.0010377{col 72}{space 3} .0018264
{txt}{space 17} {c |}
Constituency_Type {c |}
{space 14}SC  {c |}{col 19}{res}{space 2}-.1381157{col 31}{space 2} .1010187{col 42}{space 1}   -1.37{col 51}{space 3}0.172{col 59}{space 4}-.3361086{col 72}{space 3} .0598772
{txt}{space 14}ST  {c |}{col 19}{res}{space 2}-.1845292{col 31}{space 2} .1718163{col 42}{space 1}   -1.07{col 51}{space 3}0.283{col 59}{space 4}-.5212829{col 72}{space 3} .1522246
{txt}{space 17} {c |}
{space 7}State_Name {c |}
{space 11}Assam  {c |}{col 19}{res}{space 2}-.1809688{col 31}{space 2} .4889595{col 42}{space 1}   -0.37{col 51}{space 3}0.711{col 59}{space 4}-1.139312{col 72}{space 3} .7773743
{txt}{space 11}Bihar  {c |}{col 19}{res}{space 2} 2.579548{col 31}{space 2} .1928533{col 42}{space 1}   13.38{col 51}{space 3}0.000{col 59}{space 4} 2.201563{col 72}{space 3} 2.957534
{txt}{space 4}Chhattisgarh  {c |}{col 19}{res}{space 2}-16.92634{col 31}{space 2}  .209746{col 42}{space 1}  -80.70{col 51}{space 3}0.000{col 59}{space 4}-17.33744{col 72}{space 3}-16.51525
{txt}{space 9}Gujarat  {c |}{col 19}{res}{space 2}-1.570908{col 31}{space 2} .3922472{col 42}{space 1}   -4.00{col 51}{space 3}0.000{col 59}{space 4}-2.339699{col 72}{space 3}-.8021178
{txt}{space 9}Haryana  {c |}{col 19}{res}{space 2}-1.673781{col 31}{space 2} .5322248{col 42}{space 1}   -3.14{col 51}{space 3}0.002{col 59}{space 4}-2.716922{col 72}{space 3}-.6306391
{txt}{space 1}Jammu_&_Kashmir  {c |}{col 19}{res}{space 2}-1.291625{col 31}{space 2} 2.820068{col 42}{space 1}   -0.46{col 51}{space 3}0.647{col 59}{space 4}-6.818856{col 72}{space 3} 4.235606
{txt}{space 7}Jharkhand  {c |}{col 19}{res}{space 2}-15.95943{col 31}{space 2} .2344526{col 42}{space 1}  -68.07{col 51}{space 3}0.000{col 59}{space 4}-16.41895{col 72}{space 3}-15.49991
{txt}{space 7}Karnataka  {c |}{col 19}{res}{space 2}-1.515971{col 31}{space 2} .3630875{col 42}{space 1}   -4.18{col 51}{space 3}0.000{col 59}{space 4}-2.227609{col 72}{space 3}-.8043325
{txt}{space 10}Kerala  {c |}{col 19}{res}{space 2} .2601971{col 31}{space 2} .4614129{col 42}{space 1}    0.56{col 51}{space 3}0.573{col 59}{space 4}-.6441556{col 72}{space 3}  1.16455
{txt}{space 2}Madhya_Pradesh  {c |}{col 19}{res}{space 2}-2.722734{col 31}{space 2} .5233003{col 42}{space 1}   -5.20{col 51}{space 3}0.000{col 59}{space 4}-3.748384{col 72}{space 3}-1.697084
{txt}{space 5}Maharashtra  {c |}{col 19}{res}{space 2}-1.567992{col 31}{space 2} .3775506{col 42}{space 1}   -4.15{col 51}{space 3}0.000{col 59}{space 4}-2.307977{col 72}{space 3}-.8280061
{txt}{space 10}Odisha  {c |}{col 19}{res}{space 2}-1.214576{col 31}{space 2} .6089764{col 42}{space 1}   -1.99{col 51}{space 3}0.046{col 59}{space 4}-2.408148{col 72}{space 3}-.0210039
{txt}{space 10}Punjab  {c |}{col 19}{res}{space 2} 1.414185{col 31}{space 2} .2071923{col 42}{space 1}    6.83{col 51}{space 3}0.000{col 59}{space 4} 1.008095{col 72}{space 3} 1.820274
{txt}{space 7}Rajasthan  {c |}{col 19}{res}{space 2}-1.816394{col 31}{space 2} .4253144{col 42}{space 1}   -4.27{col 51}{space 3}0.000{col 59}{space 4}-2.649995{col 72}{space 3}-.9827931
{txt}{space 6}Tamil_Nadu  {c |}{col 19}{res}{space 2}-.7240159{col 31}{space 2} .3032184{col 42}{space 1}   -2.39{col 51}{space 3}0.017{col 59}{space 4}-1.318313{col 72}{space 3}-.1297187
{txt}{space 3}Uttar_Pradesh  {c |}{col 19}{res}{space 2}-.3801417{col 31}{space 2} .2236141{col 42}{space 1}   -1.70{col 51}{space 3}0.089{col 59}{space 4}-.8184172{col 72}{space 3} .0581338
{txt}{space 5}West_Bengal  {c |}{col 19}{res}{space 2}-1.104558{col 31}{space 2} .4119276{col 42}{space 1}   -2.68{col 51}{space 3}0.007{col 59}{space 4}-1.911921{col 72}{space 3}-.2971949
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-2.762659{col 31}{space 2} .1966859{col 42}{space 1}  -14.05{col 51}{space 3}0.000{col 59}{space 4}-3.148157{col 72}{space 3}-2.377162
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}inflate           {txt}{c |}
{space 8}SHF_AC_ID {c |}{col 19}{res}{space 2} -.010063{col 31}{space 2} .0271909{col 42}{space 1}   -0.37{col 51}{space 3}0.711{col 59}{space 4}-.0633561{col 72}{space 3} .0432302
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} 9.909431{col 31}{space 2} 34.96311{col 42}{space 1}    0.28{col 51}{space 3}0.777{col 59}{space 4}  -58.617{col 72}{space 3} 78.43587
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.         eststo A
{txt}
{com}.         * Model 2
.         zip Count3 i.state_ac_align Margin_Percentage lit ele ///
>         urb rugg_std i.Constituency_Type i.State_Name, inflate(SHF_AC_ID) ///
>         vce(robust)

{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res: -1642.688}  
Iteration 1:{space 3}log pseudolikelihood = {res:-1546.1088}  
Iteration 2:{space 3}log pseudolikelihood = {res:-1493.4464}  
Iteration 3:{space 3}log pseudolikelihood = {res: -1491.755}  
Iteration 4:{space 3}log pseudolikelihood = {res:-1491.7516}  
Iteration 5:{space 3}log pseudolikelihood = {res:-1491.7516}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-1491.7516}  
Iteration 1:{space 3}log pseudolikelihood = {res: -1358.858}  
Iteration 2:{space 3}log pseudolikelihood = {res:-1173.2857}  (not concave)
Iteration 3:{space 3}log pseudolikelihood = {res:-1118.7735}  (not concave)
Iteration 4:{space 3}log pseudolikelihood = {res:-1077.1426}  
Iteration 5:{space 3}log pseudolikelihood = {res:-1062.2186}  
Iteration 6:{space 3}log pseudolikelihood = {res:-1051.4264}  
Iteration 7:{space 3}log pseudolikelihood = {res:-1049.7143}  
Iteration 8:{space 3}log pseudolikelihood = {res: -1048.082}  
Iteration 9:{space 3}log pseudolikelihood = {res:-1047.6199}  
Iteration 10:{space 2}log pseudolikelihood = {res:-1047.5025}  
Iteration 11:{space 2}log pseudolikelihood = {res:-1047.4738}  
Iteration 12:{space 2}log pseudolikelihood = {res:-1047.4671}  
Iteration 13:{space 2}log pseudolikelihood = {res:-1047.4657}  
Iteration 14:{space 2}log pseudolikelihood = {res:-1047.4654}  
Iteration 15:{space 2}log pseudolikelihood = {res:-1047.4654}  
{res}
{txt}Zero-inflated Poisson regression                Number of obs     = {res}    18,962
                                                {txt}Nonzero obs       = {res}       309
                                                {txt}Zero obs          = {res}    18,653

{txt}Inflation model      = {res}logit                    {txt}Wald chi2({res}25{txt})     = {res} 207044.25
{txt}Log pseudolikelihood = {res}-1047.465                {txt}Prob > chi2       = {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}           Count3{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Count3            {txt}{c |}
{space 1}1.state_ac_align {c |}{col 19}{res}{space 2} -.176895{col 31}{space 2} .1488136{col 42}{space 1}   -1.19{col 51}{space 3}0.235{col 59}{space 4}-.4685643{col 72}{space 3} .1147743
{txt}Margin_Percentage {c |}{col 19}{res}{space 2} .0201545{col 31}{space 2} .0028221{col 42}{space 1}    7.14{col 51}{space 3}0.000{col 59}{space 4} .0146232{col 72}{space 3} .0256858
{txt}{space 14}lit {c |}{col 19}{res}{space 2} -.042884{col 31}{space 2} .0078444{col 42}{space 1}   -5.47{col 51}{space 3}0.000{col 59}{space 4}-.0582586{col 72}{space 3}-.0275093
{txt}{space 14}ele {c |}{col 19}{res}{space 2} .0425993{col 31}{space 2} .0064564{col 42}{space 1}    6.60{col 51}{space 3}0.000{col 59}{space 4}  .029945{col 72}{space 3} .0552537
{txt}{space 14}urb {c |}{col 19}{res}{space 2}-.0239625{col 31}{space 2} .0051171{col 42}{space 1}   -4.68{col 51}{space 3}0.000{col 59}{space 4}-.0339918{col 72}{space 3}-.0139332
{txt}{space 9}rugg_std {c |}{col 19}{res}{space 2} .0013371{col 31}{space 2} .0005966{col 42}{space 1}    2.24{col 51}{space 3}0.025{col 59}{space 4} .0001677{col 72}{space 3} .0025065
{txt}{space 17} {c |}
Constituency_Type {c |}
{space 14}SC  {c |}{col 19}{res}{space 2} .0725227{col 31}{space 2} .1380955{col 42}{space 1}    0.53{col 51}{space 3}0.599{col 59}{space 4}-.1981396{col 72}{space 3}  .343185
{txt}{space 14}ST  {c |}{col 19}{res}{space 2} .5284716{col 31}{space 2} .2437381{col 42}{space 1}    2.17{col 51}{space 3}0.030{col 59}{space 4} .0507537{col 72}{space 3}  1.00619
{txt}{space 17} {c |}
{space 7}State_Name {c |}
{space 11}Assam  {c |}{col 19}{res}{space 2}-19.38184{col 31}{space 2} .2358473{col 42}{space 1}  -82.18{col 51}{space 3}0.000{col 59}{space 4} -19.8441{col 72}{space 3}-18.91959
{txt}{space 11}Bihar  {c |}{col 19}{res}{space 2}   1.6777{col 31}{space 2} .2246423{col 42}{space 1}    7.47{col 51}{space 3}0.000{col 59}{space 4}  1.23741{col 72}{space 3} 2.117991
{txt}{space 4}Chhattisgarh  {c |}{col 19}{res}{space 2} .0051443{col 31}{space 2} .5451787{col 42}{space 1}    0.01{col 51}{space 3}0.992{col 59}{space 4}-1.063386{col 72}{space 3} 1.073675
{txt}{space 9}Gujarat  {c |}{col 19}{res}{space 2}-22.04297{col 31}{space 2} .1688925{col 42}{space 1} -130.51{col 51}{space 3}0.000{col 59}{space 4}  -22.374{col 72}{space 3}-21.71195
{txt}{space 9}Haryana  {c |}{col 19}{res}{space 2}-18.88089{col 31}{space 2} .2017731{col 42}{space 1}  -93.57{col 51}{space 3}0.000{col 59}{space 4}-19.27635{col 72}{space 3}-18.48542
{txt}{space 1}Jammu_&_Kashmir  {c |}{col 19}{res}{space 2}-.4361878{col 31}{space 2} .4120265{col 42}{space 1}   -1.06{col 51}{space 3}0.290{col 59}{space 4}-1.243745{col 72}{space 3} .3713693
{txt}{space 7}Jharkhand  {c |}{col 19}{res}{space 2}-19.63415{col 31}{space 2} .2662926{col 42}{space 1}  -73.73{col 51}{space 3}0.000{col 59}{space 4}-20.15608{col 72}{space 3}-19.11223
{txt}{space 7}Karnataka  {c |}{col 19}{res}{space 2}-22.90164{col 31}{space 2} .1687517{col 42}{space 1} -135.71{col 51}{space 3}0.000{col 59}{space 4}-23.23238{col 72}{space 3}-22.57089
{txt}{space 10}Kerala  {c |}{col 19}{res}{space 2}-22.22596{col 31}{space 2} .2337857{col 42}{space 1}  -95.07{col 51}{space 3}0.000{col 59}{space 4}-22.68417{col 72}{space 3}-21.76775
{txt}{space 2}Madhya_Pradesh  {c |}{col 19}{res}{space 2}-3.127447{col 31}{space 2} .5959369{col 42}{space 1}   -5.25{col 51}{space 3}0.000{col 59}{space 4}-4.295461{col 72}{space 3}-1.959432
{txt}{space 5}Maharashtra  {c |}{col 19}{res}{space 2}-22.23135{col 31}{space 2} .1490131{col 42}{space 1} -149.19{col 51}{space 3}0.000{col 59}{space 4}-22.52341{col 72}{space 3}-21.93929
{txt}{space 10}Odisha  {c |}{col 19}{res}{space 2} .8198424{col 31}{space 2} .3073749{col 42}{space 1}    2.67{col 51}{space 3}0.008{col 59}{space 4} .2173986{col 72}{space 3} 1.422286
{txt}{space 10}Punjab  {c |}{col 19}{res}{space 2} 1.269669{col 31}{space 2}  .235732{col 42}{space 1}    5.39{col 51}{space 3}0.000{col 59}{space 4} .8076427{col 72}{space 3} 1.731695
{txt}{space 7}Rajasthan  {c |}{col 19}{res}{space 2}-18.43508{col 31}{space 2}  .143396{col 42}{space 1} -128.56{col 51}{space 3}0.000{col 59}{space 4}-18.71613{col 72}{space 3}-18.15403
{txt}{space 6}Tamil_Nadu  {c |}{col 19}{res}{space 2}-23.46021{col 31}{space 2} .1555896{col 42}{space 1} -150.78{col 51}{space 3}0.000{col 59}{space 4}-23.76516{col 72}{space 3}-23.15526
{txt}{space 3}Uttar_Pradesh  {c |}{col 19}{res}{space 2}-17.78955{col 31}{space 2} .1746688{col 42}{space 1} -101.85{col 51}{space 3}0.000{col 59}{space 4} -18.1319{col 72}{space 3}-17.44721
{txt}{space 5}West_Bengal  {c |}{col 19}{res}{space 2}-2.583135{col 31}{space 2} 1.016666{col 42}{space 1}   -2.54{col 51}{space 3}0.011{col 59}{space 4}-4.575763{col 72}{space 3}-.5905063
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-3.777326{col 31}{space 2} .2744276{col 42}{space 1}  -13.76{col 51}{space 3}0.000{col 59}{space 4}-4.315194{col 72}{space 3}-3.239458
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}inflate           {txt}{c |}
{space 8}SHF_AC_ID {c |}{col 19}{res}{space 2}-.0001033{col 31}{space 2} 8.05e-06{col 42}{space 1}  -12.83{col 51}{space 3}0.000{col 59}{space 4}-.0001191{col 72}{space 3}-.0000875
{txt}{space 12}_cons {c |}{col 19}{res}{space 2}-15.30808{col 31}{space 2} .2285223{col 42}{space 1}  -66.99{col 51}{space 3}0.000{col 59}{space 4}-15.75598{col 72}{space 3}-14.86019
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.         eststo B
{txt}
{com}.         * Check multicollinearity --> all VIF below 3
.         collin Count2PIntr Count3 state_ac_align ///
>         Margin_Percentage lit ele urb rugg_std Constituency_Type
{txt}(obs=18,962)

  Collinearity Diagnostics

                        SQRT                   R-
  Variable      VIF     VIF    Tolerance    Squared
----------------------------------------------------
{res}Count2PIntr      1.02    1.01    0.9848      0.0152
    Count3      1.02    1.01    0.9830      0.0170
state_ac_align      1.06    1.03    0.9430      0.0570
Margin_Percentage      1.02    1.01    0.9765      0.0235
       lit      2.06    1.44    0.4843      0.5157
       ele      2.54    1.59    0.3940      0.6060
       urb      1.69    1.30    0.5931      0.4069
  rugg_std      1.06    1.03    0.9423      0.0577
Constituency_Type      1.03    1.02    0.9701      0.0299
{txt}----------------------------------------------------
  Mean VIF{res}      1.39

{txt}                           Cond
        Eigenval          Index
---------------------------------
{res}    1     5.5598          1.0000
    2     1.0093          2.3470
    3     0.9674          2.3973
    4     0.7779          2.6734
    5     0.7219          2.7752
    6     0.4558          3.4924
    7     0.2874          4.3985
    8     0.1211          6.7771
    9     0.0744          8.6458
    10     0.0251         14.8884
{txt}---------------------------------
 Condition Number{res}        14.8884 
{txt} Eigenvalues & Cond Index computed from scaled raw sscp (w/ intercept)
 Det(correlation matrix){res}    0.2643
{txt}
{com}.         * Export full table 
.         esttab A B ///
>         using "$dir/maintable2.rtf", /// 
>         star(* 0.05 ** 0.01 *** 0.001) ///
>         title("Table 2. Results Zero-Inflated Poisson (ZIP) Regression, Logit Inflation Model") ///
>         se scalars(ll N_zero k ic) obslast ///
>         replace
{res}{txt}(note: file C:/Users/richetta/Dropbox/Violence in India/Drafts/Causal Paper/BJPS Submission/Revision 2/replication material/maintable2.rtf not found)
(output written to {browse  `"C:/Users/richetta/Dropbox/Violence in India/Drafts/Causal Paper/BJPS Submission/Revision 2/replication material/maintable2.rtf"'})

{com}.         est drop *
{res}{txt}
{com}. 
. * Table 3
.         * Model 1
.         xtreg incumb_vote_shr i.Count2PIntr i.state_ac_align ///
>         Margin_Percentage lit ele urb Turnout_Percentage ///
>         incumb_vote_lag, fe vce(cluster ECI_DT_NAME)

{txt}Fixed-effects (within) regression               Number of obs      = {res}    16851
{txt}Group variable: {res}SHF_AC_ID                       {txt}Number of groups   = {res}     3485

{txt}R-sq:  within  = {res}0.1409                         {txt}Obs per group: min = {res}        1
{txt}       between = {res}0.2674                                        {txt}avg = {res}      4.8
{txt}       overall = {res}0.2040                                        {txt}max = {res}        7

                                                {txt}F({res}8{txt},{res}333{txt})           = {res}   108.14
{txt}corr(u_i, Xb)  = {res}-0.1498                        {txt}Prob > F           =    {res}0.0000

{txt}{ralign 84:(Std. Err. adjusted for {res:334} clusters in ECI_DT_NAME)}
{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 20}{c |}{col 32}    Robust
{col 1}   incumb_vote_shr{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      t{col 52}   P>|t|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}1.Count2PIntr {c |}{col 20}{res}{space 2}-5.256809{col 32}{space 2} 1.150088{col 43}{space 1}   -4.57{col 52}{space 3}0.000{col 60}{space 4}-7.519163{col 73}{space 3}-2.994455
{txt}{space 2}1.state_ac_align {c |}{col 20}{res}{space 2} 11.18431{col 32}{space 2} .5006422{col 43}{space 1}   22.34{col 52}{space 3}0.000{col 60}{space 4} 10.19949{col 73}{space 3} 12.16913
{txt}{space 1}Margin_Percentage {c |}{col 20}{res}{space 2}-.0017414{col 32}{space 2} .0229406{col 43}{space 1}   -0.08{col 52}{space 3}0.940{col 60}{space 4}-.0468682{col 73}{space 3} .0433853
{txt}{space 15}lit {c |}{col 20}{res}{space 2} .1667161{col 32}{space 2}  .049876{col 43}{space 1}    3.34{col 52}{space 3}0.001{col 60}{space 4} .0686044{col 73}{space 3} .2648278
{txt}{space 15}ele {c |}{col 20}{res}{space 2}   .02352{col 32}{space 2} .0443847{col 43}{space 1}    0.53{col 52}{space 3}0.597{col 60}{space 4}-.0637897{col 73}{space 3} .1108297
{txt}{space 15}urb {c |}{col 20}{res}{space 2} .2777107{col 32}{space 2} .0984716{col 43}{space 1}    2.82{col 52}{space 3}0.005{col 60}{space 4}  .084006{col 73}{space 3} .4714155
{txt}Turnout_Percentage {c |}{col 20}{res}{space 2} .1273579{col 32}{space 2} .0258751{col 43}{space 1}    4.92{col 52}{space 3}0.000{col 60}{space 4} .0764586{col 73}{space 3} .1782572
{txt}{space 3}incumb_vote_lag {c |}{col 20}{res}{space 2} .1665749{col 32}{space 2} .0232404{col 43}{space 1}    7.17{col 52}{space 3}0.000{col 60}{space 4} .1208585{col 73}{space 3} .2122914
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}-1.195233{col 32}{space 2} 3.159034{col 43}{space 1}   -0.38{col 52}{space 3}0.705{col 60}{space 4}-7.409411{col 73}{space 3} 5.018945
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           sigma_u {c |} {res} 10.218159
           {txt}sigma_e {c |} {res} 14.384843
               {txt}rho {c |} {res} .33536526{txt}   (fraction of variance due to u_i)
{hline 19}{c BT}{hline 64}

{com}.         eststo A
{txt}
{com}.         * Model 2
.         xtreg incumb_vote_shr i.Count2PIntr##i.state_ac_align ///
>         Margin_Percentage lit ele urb Turnout_Percentage ///
>         incumb_vote_lag, fe vce(cluster ECI_DT_NAME)

{txt}Fixed-effects (within) regression               Number of obs      = {res}    16851
{txt}Group variable: {res}SHF_AC_ID                       {txt}Number of groups   = {res}     3485

{txt}R-sq:  within  = {res}0.1419                         {txt}Obs per group: min = {res}        1
{txt}       between = {res}0.2692                                        {txt}avg = {res}      4.8
{txt}       overall = {res}0.2053                                        {txt}max = {res}        7

                                                {txt}F({res}9{txt},{res}333{txt})           = {res}    97.23
{txt}corr(u_i, Xb)  = {res}-0.1491                        {txt}Prob > F           =    {res}0.0000

{txt}{ralign 92:(Std. Err. adjusted for {res:334} clusters in ECI_DT_NAME)}
{hline 27}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 28}{c |}{col 40}    Robust
{col 1}           incumb_vote_shr{col 28}{c |}      Coef.{col 40}   Std. Err.{col 52}      t{col 60}   P>|t|{col 68}     [95% Con{col 81}f. Interval]
{hline 27}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 13}1.Count2PIntr {c |}{col 28}{res}{space 2}-6.139791{col 40}{space 2} 1.242802{col 51}{space 1}   -4.94{col 60}{space 3}0.000{col 68}{space 4}-8.584524{col 81}{space 3}-3.695059
{txt}{space 10}1.state_ac_align {c |}{col 28}{res}{space 2}  11.0049{col 40}{space 2} .4897644{col 51}{space 1}   22.47{col 60}{space 3}0.000{col 68}{space 4} 10.04147{col 81}{space 3} 11.96832
{txt}{space 26} {c |}
Count2PIntr#state_ac_align {c |}
{space 22}1 1  {c |}{col 28}{res}{space 2}  7.99262{col 40}{space 2}  2.52053{col 51}{space 1}    3.17{col 60}{space 3}0.002{col 68}{space 4} 3.034452{col 81}{space 3} 12.95079
{txt}{space 26} {c |}
{space 9}Margin_Percentage {c |}{col 28}{res}{space 2}-.0015873{col 40}{space 2}  .022977{col 51}{space 1}   -0.07{col 60}{space 3}0.945{col 68}{space 4}-.0467857{col 81}{space 3} .0436112
{txt}{space 23}lit {c |}{col 28}{res}{space 2} .1633448{col 40}{space 2} .0497928{col 51}{space 1}    3.28{col 60}{space 3}0.001{col 68}{space 4} .0653966{col 81}{space 3} .2612929
{txt}{space 23}ele {c |}{col 28}{res}{space 2} .0254816{col 40}{space 2} .0442634{col 51}{space 1}    0.58{col 60}{space 3}0.565{col 68}{space 4}-.0615896{col 81}{space 3} .1125527
{txt}{space 23}urb {c |}{col 28}{res}{space 2} .2768363{col 40}{space 2}  .098281{col 51}{space 1}    2.82{col 60}{space 3}0.005{col 68}{space 4} .0835065{col 81}{space 3} .4701662
{txt}{space 8}Turnout_Percentage {c |}{col 28}{res}{space 2} .1280074{col 40}{space 2} .0258072{col 51}{space 1}    4.96{col 60}{space 3}0.000{col 68}{space 4} .0772418{col 81}{space 3}  .178773
{txt}{space 11}incumb_vote_lag {c |}{col 28}{res}{space 2} .1665023{col 40}{space 2} .0232825{col 51}{space 1}    7.15{col 60}{space 3}0.000{col 68}{space 4}  .120703{col 81}{space 3} .2123015
{txt}{space 21}_cons {c |}{col 28}{res}{space 2}-1.104174{col 40}{space 2} 3.164914{col 51}{space 1}   -0.35{col 60}{space 3}0.727{col 68}{space 4}-7.329919{col 81}{space 3} 5.121571
{txt}{hline 27}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                   sigma_u {c |} {res} 10.204821
                   {txt}sigma_e {c |} {res} 14.377674
                       {txt}rho {c |} {res} .33500532{txt}   (fraction of variance due to u_i)
{hline 27}{c BT}{hline 64}

{com}.         eststo B
{txt}
{com}.         * Check multicollinearity --> all VIF below 3
.         collin Count2PIntr state_ac_align ///
>         Margin_Percentage lit ele urb Turnout_Percentage incumb_vote_lag
{txt}(obs=18,982)

  Collinearity Diagnostics

                        SQRT                   R-
  Variable      VIF     VIF    Tolerance    Squared
----------------------------------------------------
{res}Count2PIntr      1.01    1.01    0.9871      0.0129
state_ac_align      1.06    1.03    0.9427      0.0573
Margin_Percentage      1.07    1.03    0.9345      0.0655
       lit      2.32    1.52    0.4318      0.5682
       ele      2.46    1.57    0.4073      0.5927
       urb      1.76    1.33    0.5694      0.4306
Turnout_Percentage      1.24    1.11    0.8089      0.1911
incumb_vote_lag      1.08    1.04    0.9226      0.0774
{txt}----------------------------------------------------
  Mean VIF{res}      1.50

{txt}                           Cond
        Eigenval          Index
---------------------------------
{res}    1     6.3215          1.0000
    2     0.9826          2.5364
    3     0.7711          2.8632
    4     0.4564          3.7215
    5     0.2784          4.7654
    6     0.1048          7.7670
    7     0.0442         11.9586
    8     0.0252         15.8288
    9     0.0158         20.0042
{txt}---------------------------------
 Condition Number{res}        20.0042 
{txt} Eigenvalues & Cond Index computed from scaled raw sscp (w/ intercept)
 Det(correlation matrix){res}    0.2197
{txt}
{com}.         * Export full table 
.         esttab A B ///
>         using "$dir/maintable3.rtf", /// 
>         star(* 0.05 ** 0.01 *** 0.001) ///
>         title("Table 3. Results Fixed Effects Analysis, Dependent Variable: Incumbent Vote Share (%)") ///
>         se scalars(ll) obslast ///
>         replace
{res}{txt}(note: file C:/Users/richetta/Dropbox/Violence in India/Drafts/Causal Paper/BJPS Submission/Revision 2/replication material/maintable3.rtf not found)
(output written to {browse  `"C:/Users/richetta/Dropbox/Violence in India/Drafts/Causal Paper/BJPS Submission/Revision 2/replication material/maintable3.rtf"'})

{com}. 
. 
. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\richetta\Dropbox\Violence in India\Drafts\Causal Paper\BJPS Submission\Revision 2\replication material\log-main-tables.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}13 Jun 2022, 08:21:16
{txt}{.-}
{smcl}
{txt}{sf}{ul off}